<?php 
// кодировочка
class searchComponents extends  sfComponents
{
	public function executeLast(sfWebRequest $request)
	{
		$this->out = $this->getUser()->getAttribute('search', 'whatsthehell');

		$this->form = new SearchForm();
		$this->count = $this->getUser()->getAttribute('search_num', '0');
		$this->page = $this->getUser()->getAttribute('last_searched_page');
	}
}